42
Relation between CLASS and
STRUCT
w
struct date
w
{
w
int year, month,
day;
w
};
w
class date
w
{
w
public:
w
date(); //
constructor
w
~date();
//
destructor
w
int year, month, day;
w
};